package cn.itsource.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 日志类
 */
@Data
@Table(name = "sys_oper_log")
public class SysOperLog {
    @Id
   private Long id;
    @Column(name = "real_name")
    private String realName;
    private String content;
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

}